package com.go.where.family.component;

import java.util.List;

import com.go.where.family.pojo.VideoInfo;
import com.go.where.family.scoket.Head;
import com.go.where.family.vo.VideoVo;

/**
 * 视频信息组件
 * 
 * @author java
 * 
 */
public interface VideoComponent {

	/**
	 * 分页查询视频列表
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<VideoInfo> queryList(String body, Head head);

	/**
	 * 
	 * 获取首页视频列表
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<VideoVo> queryHomeVideo(String body, Head head);

	/**
	 * 查询视频详情
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public VideoInfo queryVideoDetail(String body, Head head);

	/**
	 * 更新视频点赞量
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean update(String body, Head head);

}
